home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 3: CDPD 3
/
Almathera Ten on Ten - Disc 3: CDPD3.iso
/
fish
/
001-100
/
001-025
/
002
/
dbug
/
readme.amiga
< prev
next >
Wrap
Text File
|
1995-03-17
|
974b
|
35 lines
This is my macro based C debugging system. I really haven't done much
to mechanize the amiga environment for installing it. I would suggest
that you do the following manually:
(1) Make a subdirectory in your C include directory
called "local".
makedir df1:include/local
(2) Copy the user program include file dbug.h to this
local include directory.
copy dbug.h df1:include/local/dbug.h
(3) Compile the runtime support library source dbug.c and
place in your library directory as "dbug.lib". Note
that libraries are just bunches of object files
concatenated together (how simple!).
cc -c dbug.c
copy dbug.o df1:lib/dbug.lib
You can now compile and link the test programs by:
cc -o factorial main.c factorial.c -ldbug
Note that this assumes that you are using my Unix-like "cc", Lattice C
frontend. If not, you will have to fake it with the appropriate dozen
command lines to compile each piece and do the final link.
Good luck!
-Fred